package com.lucenly.spell.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.lucenly.spell.base.BaseActivity
import com.lucenly.spell.databinding.ActivitySettingBinding
import com.moregold.mvvmlib.ext.ext_doubleClick
import com.moregold.mvvmlib.ext.startActivity

class SettingActivity : BaseActivity<ActivitySettingBinding>() {

    override fun getViewBinding(): ActivitySettingBinding {
        return ActivitySettingBinding.inflate(layoutInflater,baseBinding.contentMain,true)
    }

    override fun setTitle(): String {
        return "用户信息"
    }

    override fun initData() {
    }

    override fun initEvent() {
        binding.llAbout.ext_doubleClick {
            startActivity<AboutActivity>()
        }
        binding.llEdit.ext_doubleClick {
            startActivity<EditNameActivity>()
        }
    }
    override fun getStatusType(): Int {
        return 2
    }
    override fun startObserve() {
    }
}